﻿#ifndef __AF_ACT_H__
#define __AF_ACT_H__

#include "AF_Define.h"

namespace AF
{
	//class Animation -* Runnable
		class Action;
}
typedef AF::Action			AF_CAction;

#include "AF_Animation.h"

namespace AF
{
	/// 可绘制对象动作基类
	class _ABSTRACT Action : public Animation
	{
// 		friend class Graphics;

	public:
		Action();
		virtual ~Action();

	protected:
		/// 设置动作目标效果
		virtual void		SetEffect(Pointer pEffect)
					{return;}

// 继承
// 	protected:
// 		virtual bool		OnPlay(Bundle* pParam)
// 					{return true;}
// 		virtual bool		OnPause()
// 					{return true;}
// 		virtual bool		OnStop()
// 					{return true;}
	};

}

#endif